﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 树节点数据
    /// </summary>
    public class TreeNodeData<T> : TreeNodeData
    {
        private T _info;
        /// <summary>
        /// 业务数据
        /// </summary>
        public T Info
        {
            get
            {
                return _info;
            }
            set
            {
                _info = value;
                OnPropertyChanged("Info");
            }
        }

        public TreeNodeData(T info)
        {
            _info = info;
        }
    }
}
